home *** CD-ROM | disk | FTP | other *** search
- // Borland C++ Builder
- // Copyright (c) 1995, 1998 by Borland International
- // All rights reserved
-
- // (DO NOT EDIT: machine generated header) 'System.pas' rev: 3.00
-
- #ifndef SystemHPP
- #define SystemHPP
- #include <sysdefs.H>
-
- //-- user supplied -----------------------------------------------------------
-
- namespace System
- {
- //-- type declarations -------------------------------------------------------
- //-- var, const, procedure ---------------------------------------------------
- #define False (bool)(0)
- #define True (bool)(1)
- #define MaxInt (int)(2147483647)
- #define MaxLongint (int)(2147483647)
- #define varEmpty (Byte)(0)
- #define varNull (Byte)(1)
- #define varSmallint (Byte)(2)
- #define varInteger (Byte)(3)
- #define varSingle (Byte)(4)
- #define varDouble (Byte)(5)
- #define varCurrency (Byte)(6)
- #define varDate (Byte)(7)
- #define varOleStr (Byte)(8)
- #define varDispatch (Byte)(9)
- #define varError (Byte)(10)
- #define varBoolean (Byte)(11)
- #define varVariant (Byte)(12)
- #define varUnknown (Byte)(13)
- #define varByte (Byte)(17)
- #define varString (Word)(256)
- #define varTypeMask (Word)(4095)
- #define varArray (Word)(8192)
- #define varByRef (Word)(16384)
- #define vtInteger (Byte)(0)
- #define vtBoolean (Byte)(1)
- #define vtChar (Byte)(2)
- #define vtExtended (Byte)(3)
- #define vtString (Byte)(4)
- #define vtPointer (Byte)(5)
- #define vtPChar (Byte)(6)
- #define vtObject (Byte)(7)
- #define vtClass (Byte)(8)
- #define vtWideChar (Byte)(9)
- #define vtPWideChar (Byte)(10)
- #define vtAnsiString (Byte)(11)
- #define vtCurrency (Byte)(12)
- #define vtVariant (Byte)(13)
- #define vtInterface (Byte)(14)
- #define vtWideString (Byte)(15)
- #define vmtSelfPtr (Shortint)(-76)
- #define vmtIntfTable (Shortint)(-72)
- #define vmtAutoTable (Shortint)(-68)
- #define vmtInitTable (Shortint)(-64)
- #define vmtTypeInfo (Shortint)(-60)
- #define vmtFieldTable (Shortint)(-56)
- #define vmtMethodTable (Shortint)(-52)
- #define vmtDynamicTable (Shortint)(-48)
- #define vmtClassName (Shortint)(-44)
- #define vmtInstanceSize (Shortint)(-40)
- #define vmtParent (Shortint)(-36)
- #define vmtSafeCallException (Shortint)(-32)
- #define vmtAfterConstruction (Shortint)(-28)
- #define vmtBeforeDestruction (Shortint)(-24)
- #define vmtDispatch (Shortint)(-20)
- #define vmtDefaultHandler (Shortint)(-16)
- #define vmtNewInstance (Shortint)(-12)
- #define vmtFreeInstance (Shortint)(-8)
- #define vmtDestroy (Shortint)(-4)
- #define vmtQueryInterface (Byte)(0)
- #define vmtAddRef (Byte)(4)
- #define vmtRelease (Byte)(8)
- #define vmtCreateObject (Byte)(12)
- extern THREAD void *RaiseList;
- extern THREAD int InOutRes;
- extern PACKAGE void *ExceptProc;
- extern PACKAGE void *ErrorProc;
- extern PACKAGE void *ExceptClsProc;
- extern PACKAGE void *ExceptObjProc;
- extern PACKAGE TMetaClass*ExceptionClass;
- extern PACKAGE void *SafeCallErrorProc;
- extern PACKAGE void *AssertErrorProc;
- extern PACKAGE void *AbstractErrorProc;
- extern PACKAGE int HPrevInst;
- extern PACKAGE HINSTANCE MainInstance;
- extern PACKAGE bool IsLibrary;
- extern PACKAGE int CmdShow;
- extern PACKAGE char *CmdLine;
- extern PACKAGE void *InitProc;
- extern PACKAGE int ExitCode;
- extern PACKAGE void *ExitProc;
- extern PACKAGE void *ErrorAddr;
- extern PACKAGE int RandSeed;
- extern PACKAGE bool IsConsole;
- extern PACKAGE bool IsMultiThread;
- extern PACKAGE Byte FileMode;
- extern PACKAGE Byte Test8086;
- extern PACKAGE Byte Test8087;
- extern PACKAGE Shortint TestFDIV;
- extern PACKAGE TextFile Input;
- extern PACKAGE TextFile Output;
- extern PACKAGE Word Default8087CW;
- extern PACKAGE Word HeapAllocFlags;
- extern PACKAGE Byte DebugHook;
- extern PACKAGE Variant Unassigned;
- extern PACKAGE Variant Null;
- extern PACKAGE int AllocMemCount;
- extern PACKAGE int AllocMemSize;
- extern PACKAGE void *VarDispProc;
- extern PACKAGE void *DispCallByIDProc;
- extern PACKAGE TLibModule *LibModuleList;
- extern PACKAGE TModuleUnloadRec *ModuleUnloadList;
- extern PACKAGE void __fastcall TextStart(void);
- extern PACKAGE void * __fastcall SysGetMem(int Size);
- extern PACKAGE int __fastcall SysFreeMem(void * P);
- extern PACKAGE void * __fastcall SysReallocMem(void * P, int Size);
- extern PACKAGE THeapStatus __fastcall GetHeapStatus(void);
- extern PACKAGE void __fastcall GetMemoryManager(TMemoryManager &MemMgr);
- extern PACKAGE void __fastcall SetMemoryManager(const TMemoryManager &MemMgr);
- extern PACKAGE bool __fastcall IsMemoryManagerSet(void);
- extern PACKAGE int __fastcall IOResult(void);
- extern PACKAGE void __fastcall Move(const void *Source, void *Dest, int Count);
- extern PACKAGE int __fastcall ParamCount(void);
- extern PACKAGE AnsiString __fastcall ParamStr(int Index);
- extern PACKAGE void __fastcall Randomize(void);
- extern PACKAGE char __fastcall UpCase(char Ch);
- extern PACKAGE void __fastcall Set8087CW(Word NewCW);
- extern PACKAGE int __fastcall BeginThread(void * SecurityAttributes, int StackSize, TThreadFunc ThreadFunc
- , void * Parameter, int CreationFlags, int &ThreadId);
- extern PACKAGE void __fastcall EndThread(int ExitCode);
- extern PACKAGE void __fastcall UniqueString(AnsiString &str);
- extern PACKAGE AnsiString __fastcall WideCharToString(wchar_t * Source);
- extern PACKAGE AnsiString __fastcall WideCharLenToString(wchar_t * Source, int SourceLen);
- extern PACKAGE void __fastcall WideCharToStrVar(wchar_t * Source, AnsiString &Dest);
- extern PACKAGE void __fastcall WideCharLenToStrVar(wchar_t * Source, int SourceLen, AnsiString &Dest
- );
- extern PACKAGE wchar_t * __fastcall StringToWideChar(const AnsiString Source, wchar_t * Dest, int DestSize
- );
- extern PACKAGE AnsiString __fastcall OleStrToString(wchar_t * Source);
- extern PACKAGE void __fastcall OleStrToStrVar(wchar_t * Source, AnsiString &Dest);
- extern PACKAGE wchar_t * __fastcall StringToOleStr(const AnsiString Source);
- extern PACKAGE void __fastcall VarCopyNoInd(Variant &Dest, const Variant &Source);
- extern PACKAGE int __fastcall VarType(const Variant &V);
- extern PACKAGE Variant __fastcall VarAsType(const Variant &V, int VarType);
- extern PACKAGE bool __fastcall VarIsEmpty(const Variant &V);
- extern PACKAGE bool __fastcall VarIsNull(const Variant &V);
- extern PACKAGE AnsiString __fastcall VarToStr(const Variant &V);
- extern PACKAGE Variant __fastcall VarFromDateTime(TDateTime DateTime);
- extern PACKAGE TDateTime __fastcall VarToDateTime(const Variant &V);
- extern PACKAGE Variant __fastcall VarArrayCreate(const int * Bounds, const int Bounds_Size, int VarType
- );
- extern PACKAGE Variant __fastcall VarArrayOf(const Variant * Values, const int Values_Size);
- extern PACKAGE int __fastcall VarArrayDimCount(const Variant &A);
- extern PACKAGE int __fastcall VarArrayLowBound(const Variant &A, int Dim);
- extern PACKAGE int __fastcall VarArrayHighBound(const Variant &A, int Dim);
- extern PACKAGE void * __fastcall VarArrayLock(const Variant &A);
- extern PACKAGE void __fastcall VarArrayUnlock(const Variant &A);
- extern PACKAGE Variant __fastcall VarArrayRef(const Variant &A);
- extern PACKAGE bool __fastcall VarIsArray(const Variant &A);
- extern PACKAGE int __fastcall FindHInstance(void * Address);
- extern PACKAGE int __fastcall FindClassHInstance(TMetaClass* ClassType);
- extern PACKAGE int __fastcall FindResourceHInstance(int Instance);
- extern PACKAGE int __fastcall LoadResourceModule(char * ModuleName);
- extern PACKAGE void __fastcall EnumModules(TEnumModuleFunc Func, void * Data);
- extern PACKAGE void __fastcall EnumResourceModules(TEnumModuleFunc Func, void * Data);
- extern PACKAGE void __fastcall AddModuleUnloadProc(TModuleUnloadProc Proc);
- extern PACKAGE void __fastcall RemoveModuleUnloadProc(TModuleUnloadProc Proc);
- extern PACKAGE void __fastcall RegisterModule(PLibModule LibModule);
- extern PACKAGE void __fastcall UnregisterModule(PLibModule LibModule);
- extern PACKAGE AnsiString __fastcall LoadResString(PResStringRec ResStringRec);
- extern PACKAGE double __cdecl CompToDouble(Comp acomp);
- extern PACKAGE void __cdecl DoubleToComp(double adouble, Comp &result);
- extern PACKAGE Currency __cdecl CompToCurrency(Comp acomp);
- extern PACKAGE void __cdecl CurrencyToComp(Currency acurrency, Comp &result);
- extern PACKAGE void * __cdecl GetMemory(int Size);
- extern PACKAGE int __cdecl FreeMemory(void * P);
- extern PACKAGE void * __cdecl ReallocMemory(void * P, int Size);
- extern PACKAGE void __fastcall FPower10(void);
-
- } /* namespace System */
- #if !defined(NO_IMPLICIT_NAMESPACE_USE)
- using namespace System;
- #endif
- //-- end unit ----------------------------------------------------------------
- #endif // System
-